package ibm.cognos.imt.template

import ibm.cognos.imt.List

/**
 * Created with IntelliJ IDEA.
 * User: eric
 * Date: 5/9/14
 * Time: 9:06 PM
 * To change this template use File | Settings | File Templates.
 */
class TemplateFactory {

    static def AbstractTemplate getTemplate(object) {
        if (object instanceof List) {
            return new ListTemplate(object)
        }
    }
}
